home *** CD-ROM | disk | FTP | other *** search
/ Scene Storm / Scene Storm - Volume 1.iso / coding / c / pdc / include / strings.h < prev    next >
C/C++ Source or Header  |  1990-04-05  |  1KB  |  39 lines

  1.  
  2. /*
  3.  * String functions.
  4.  */
  5.  
  6. char *memcpy(char *dst, const char *src, int size);
  7. char *memccpy(char *dst, const char *src, int ucharstop, int size);
  8. char *strcpy(char *dst, const char *src);
  9. char *strncpy(char *dst, const char *src, int size);
  10. char *strcat(char *dst, const char *src);
  11. char *strncat(char *dst, const char *src, int size);
  12. int memcmp(const char *s1, const char *s2, int size);
  13. int strcmp(const char *s1, const char *s2);
  14. int strncmp(const char *s1, const char *s2, int size);
  15. char *memchr(const char *s, int ucharwanted, int size);
  16. char *strchr(const char *s, int charwanted);
  17. int strcspn(const char *s, const char *reject);
  18. char *strpbrk(const char *s, const char *breakat);
  19. char *strrchr(const char *s, int charwanted);
  20. int strspn(const char *s, const char *accept);
  21. char *strstr(const char *s, const char *wanted);
  22. char *strtok(char *s, const char *delim);
  23. char *memset(char *s, int ucharfill, int size);
  24. int strlen(const char *s);
  25.  
  26. /*
  27.  * V7 and Berklix compatibility.
  28.  */
  29. char *index(const char *s, int charwanted);
  30. char *rindex(const char *s, int charwanted);
  31. int bcopy(const char *src, char *dst, int length);
  32. int bcmp(const char *s1, const char *s2, int length);
  33. int bzero(char *dst, int length);
  34.  
  35. /*
  36.  * Putting this in here is really silly, but who am I to argue with X3J11?
  37.  */
  38. char *strerror(int errnum);
  39.